package net.zcy.springbootmybatis.enums;

public enum ResultEnum {
    SYSTEM_ERROTR(-1,"系统错误"),
    SUCCESS(1000,"成功")
    ;

    private Integer code;

    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
